package com.wlqq.phantom.communication;

/**
 * The interface Service result.
 *
 * @author sHadowLess
 */
public interface IServiceResult {

    /**
     * Start.
     */
    void start();

    /**
     * Success.
     *
     * @param data the data
     */
    void success(Object data);

    /**
     * Fail.
     *
     * @param e the e
     */
    void fail(Exception e);

    /**
     * Finish.
     */
    void finish();
}
